﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace LeanEngine.Reflection
{
    public sealed class PropertyAccessorFactory : IReflectionFactory<PropertyInfo, IPropertyAccessor>
    {
        #region IReflectionFactory<PropertyInfo,IPropertyAccessor> Members

        public IPropertyAccessor Create(PropertyInfo key)
        {
            return new PropertyAccessor(key);
        }

        #endregion
    }
}
